<!DOCTYPE html>  
<html xmlns="http://www.w3.org/1999/xhtml"  
      xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4"">
   <link rel="stylesheet" th:href="@{/resources/bootstrap-table-master/assets/bootstrap/css/bootstrap.min.css}"/>
    <head>
        <title>Spring Security Example </title>
    </head>
    <body>
    	<div class="modal-dialog">
	<div class="modal-content">
    <div class="modal-body">
        <div th:if="${param.error}">
            用户名或密码错
        </div>
        <div th:if="${param.logout}">
            您已注销成功
        </div>
        
        <form th:action="@{/login}" method="post" class="form-horizontal" role="form">
           <div class="form-group">
    		<label for="name">用户名</label>
    		<input type="text" class="form-control" id="name" name="username"  placeholder="请输入名称"/>
  		</div>
		  <div class="form-group">
    		<label for="name">密码</label>
    		<input type="password" class="form-control" id="password" name="password"  placeholder="请输入密码" />
  		</div>
            <div><input type="submit" value="登录"/></div>
        </form>
        </div>
        </div>
        </div>
    </body>
</html>  